<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<title>Register</title>
	<link rel="stylesheet" href="../css/register.css" />

</head>
<script src="../js/register.js"></script>
<script src="../js/jquery-3.2.1.min.js"></script>

<body>
	<form id="myForm" method="post">
		<div class="box">
			<h2>注册</h2>
			<div class="inputbox">
				<input type="text" id="phone" name="phone" value="" onblur="checkPhone()" />
				<label>手机号*</label>
				<span id="s_phone" class="error"></span>
			</div>
			<div class="inputbox">ß
				<input type="password" id="password" name="password" value="" onblur="checkPassword()" />
				<label>密码*</label>
				<span id="s_password" class="error"></span>
			</div>
			<div class="inputbox">
				<input type="password" id="repassword" name="repassword" value="" onblur="checkRePassword()" />
				<label>请再次输入密码*</label>
				<span id="s_repassword" class="error"></span>
			</div>
			<div class="inputbox">
				<input type="text" id="name" name="name" value="" onblur="checkName() " />
				<label>姓名(2~6中英)*</label>
				<span id="s_name" class="error"></span>
			</div>
			<div class="inputbox">
				<input type="text" id="sex" name="sex" value="" onblur="checkSex() " />
				<label>性别(男/女)</label>
				<span id="s_sex" class="error"></span>
			</div>
			<div class="inputbox">
				<input type="text" id="number" name="number" value="" onblur="checkNumber()" />
				<label>身份证件号</label>
				<span id="s_number" class="error"></span>
			</div>
			<div class="inputbox">
				<input type="text" id="email" name="email" value="" onblur="checkEmail()" />
				<label>电子邮箱</label>
				<span id="s_email" class="error"></span>
			</div>
			<input class="sub " type="button" value="注册" style="margin-left:70px;" onclick="register()">
			<input class="sub but" type="reset" value="重置" onclick="resetForm()">
		</div>
	</form>
</body>

</html>